package com.system;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * 启动类
 *
 * @Author 佛冷
 * @Date 2020/6/8 11:00
 */
@MapperScan(basePackages = "com.system.dao")
@EnableSwagger2
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class WsSystemApiApplication extends SpringBootServletInitializer {

    public static void main(String[] args) {
        SpringApplication.run(WsSystemApiApplication.class, args);
    }


}
